<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Spatie\Permission\Models\Role as Roles;

class Role extends Roles
{
    //关联用户表
    public function modelHasAdminer(){
        return $this->hasMany('App\Models\Adminer','role');
    }
}
